FROM registry.cn-hangzhou.aliyuncs.com/prdocker/jdk21-maven:latest
ADD target/app.jar /home
WORKDIR /home
VOLUME /home/logs
VOLUME /home/file
EXPOSE 8000
ENTRYPOINT ["java","-Xmx128m","-Xmx2048m","-jar","app.jar","-XX:+UseZGC"]